package com.dgh.school.service;

import com.dgh.school.bean.Department;
import com.dgh.school.common.R;

/**
 * 部门管理的业务层
 *
 *
 */
public interface DepartmentService {

    R selectByPage(int pageNum, int pageSize) throws Exception;

    void deleteById(int id) throws Exception;

    void insertData(Department de)throws Exception;

    void updateData(Department de)throws Exception;

    R selectAlldepartments()throws Exception;
}
